import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from '@/router/index.js'
import common from './common/js/common/common'

Vue.prototype.$common = common

import VueLazyload from "vue-lazyload";
 

//或者自定义配置插件
Vue.use(VueLazyload, {
attempt: 1,
preLoad: 1.3,
listenEvents: ['scroll']
})

Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,

}).$mount('#app')
